package cn.hs.mapper;

import cn.hs.entity.Chargetype;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
* @author hjj15
* @description 针对表【chargetype】的数据库操作Mapper
* @createDate 2024-10-24 10:31:55
* @Entity cn.hs.entity.Chargetype
*/
public interface ChargetypeMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Chargetype record);

    int insertSelective(Chargetype record);

    Chargetype selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Chargetype record);

    int updateByPrimaryKey(Chargetype record);

    List<Chargetype> selectAll(Chargetype chargetype);

    List<Chargetype> selectByconsultid(@Param(value = "consultid") Long consultid);

}
